﻿<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page language="java" contentType="text/html;charset=UTF-8" pageEncoding="utf-8" %>

<table class="table-orderList">
    <thead>
		<td>1</td>
		<td>名称</td>
		<td>简称</td>
		<td>排名</td>
		<td>logo</td>
		<td>market_id</td>
		<td>com_id</td>
		<td>pair</td>
		<td>currency</td>
		<td>anchor</td>
		<td>price</td>
		<td>price_usd</td>
		<td>volume_24h</td>
		<td>volume_24h_usd</td>
		<td>volume_24h_from</td>
		<td>volume_24h_to</td>
		<td>percent_change_utc0</td>
		<td>price_updated_at</td>
		<td>tv_symbol</td>
		<td>cc_kline</td>
		<td>kline_enabled</td>
		<td>kline_source</td>
		<td>market_cap_usd</td>
		<td>alias</td>
		<td>market_alias</td>
		<td>流通量</td>
		<td>is_new</td>
		<td>enabled</td>
		<td>updated_at</td>
		<td>price_utc0</td>
		<td>price_cny_utc0</td>
		<td>utc0_updated_at</td>
		<td>volume_24h_cny</td>
		<td>price_24h_high</td>
		<td>price_24h_low</td>
		<td>percent_change_utc0_0</td>
		<td>percent_change_utc8</td>
		<td>percent_change_1h</td>
		<td>percent_change_24h</td>
		<td>ticker_id</td>
		<td>price_utc8_0</td>
		<td>price_utc8</td>
		<td>updated_at_utc8</td>
		<td>price_cny_utc8</td>
		<td>price_cny_utc8_0</td>
		<td>updated_at_utc0</td>
		<td>price_utc0_0</td>
		<td>price_cny_utc0_0</td>
		<td>high_24h</td>
		<td>low_24h</td>
		<td>percent_change_utc8_yesterday</td>
		<td>percent_change_utc0_yesterday</td>
		<td>price_display</td>
		<td>price_change_today</td>
		<td>legal_currency_price_usd</td>
		<td>legal_currency_price</td>
		<td>market_cap_display</td>
		<td>market_cap_display_cny</td>
		<td>price_display_cny</td>
		<td>percent_change_display</td>
		<td>percent_change_range</td>
		<td>turnover_rate</td>
		<td>操作</td>
    </thead>
    <c:forEach var="item" items="${data}" varStatus="list">
        <tr>
			<td>${item.id }</td>
			<td>${item.name }</td>
			<td>${item.symbol }</td>
			<td>${item.rank }</td>
			<td>${item.logo }</td>
			<td>${item.market_id }</td>
			<td>${item.com_id }</td>
			<td>${item.pair }</td>
			<td>${item.currency }</td>
			<td>${item.anchor }</td>
			<td>${item.price }</td>
			<td>${item.price_usd }</td>
			<td>${item.volume_24h }</td>
			<td>${item.volume_24h_usd }</td>
			<td>${item.volume_24h_from }</td>
			<td>${item.volume_24h_to }</td>
			<td>${item.percent_change_utc0 }</td>
			<td>${item.price_updated_at }</td>
			<td>${item.tv_symbol }</td>
			<td>${item.cc_kline }</td>
			<td>${item.kline_enabled }</td>
			<td>${item.kline_source }</td>
			<td>${item.market_cap_usd }</td>
			<td>${item.alias }</td>
			<td>${item.market_alias }</td>
			<td>${item.available_supply }</td>
			<td>${item.is_new }</td>
			<td>${item.enabled }</td>
			<td>${item.updated_at }</td>
			<td>${item.price_utc0 }</td>
			<td>${item.price_cny_utc0 }</td>
			<td>${item.utc0_updated_at }</td>
			<td>${item.volume_24h_cny }</td>
			<td>${item.price_24h_high }</td>
			<td>${item.price_24h_low }</td>
			<td>${item.percent_change_utc0_0 }</td>
			<td>${item.percent_change_utc8 }</td>
			<td>${item.percent_change_1h }</td>
			<td>${item.percent_change_24h }</td>
			<td>${item.ticker_id }</td>
			<td>${item.price_utc8_0 }</td>
			<td>${item.price_utc8 }</td>
			<td>${item.updated_at_utc8 }</td>
			<td>${item.price_cny_utc8 }</td>
			<td>${item.price_cny_utc8_0 }</td>
			<td>${item.updated_at_utc0 }</td>
			<td>${item.price_utc0_0 }</td>
			<td>${item.price_cny_utc0_0 }</td>
			<td>${item.high_24h }</td>
			<td>${item.low_24h }</td>
			<td>${item.percent_change_utc8_yesterday }</td>
			<td>${item.percent_change_utc0_yesterday }</td>
			<td>${item.price_display }</td>
			<td>${item.price_change_today }</td>
			<td>${item.legal_currency_price_usd }</td>
			<td>${item.legal_currency_price }</td>
			<td>${item.market_cap_display }</td>
			<td>${item.market_cap_display_cny }</td>
			<td>${item.price_display_cny }</td>
			<td>${item.percent_change_display }</td>
			<td>${item.percent_change_range }</td>
			<td>${item.turnover_rate }</td>
            <td>
                <a class="text-primary mr-10" data-tab-title="修改"
                   href="${basePath}/t_gr_mytokenio/add?id=${item.id}">修改</a>
                <a class="text-primary mr-10 delBtn" href="javascript:;" data-id="${item.id}">删除</a>
            </td>
        </tr>
    </c:forEach>

</table>

<c:choose>
    <c:when test="${!empty data}">
        ${page}
    </c:when>
   <c:otherwise>
       <div class="relative" style="height: 200px">
           <span>没有符合条件的数据，请尝试其他搜索条件</span>
       </div>
   </c:otherwise>
</c:choose>

